package com.eol.entity.po.eventTracking;

import io.swagger.annotations.ApiModel;

import javax.persistence.Id;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * 埋点事件表
 *
 * @author liulinhui
 * @email 1249055292@qq.com
 * @date 2020-05-25 14:26:44
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel("埋点事件表")
public class ZEventTracking implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "埋点ID")
    @Id
    private String eventId;

    @ApiModelProperty(value = "事件名字")
    private String name;

    @ApiModelProperty(value = "ip")
    private String ip;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "课程id ")
    private String courseId;

    @ApiModelProperty(value = "地区")
    private String area;

}
